﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace ShivamEMR.Model.Domain.ContactsDomain
{
   public class Country
    {
        #region Properties
        public int ID { get; set; }
        public string Code { get; set; }
        public string ShortName { get; set; }
        public string FullName { get; set; }
        public string Description { get; set; }
        public string Notes { get; set; }
       
        public int CallingCode { get; set; }
        public string WebSite { get; set; }

        #endregion

        #region ForeignKeyProperties
        public int NationalityID { get; set; }
        public Guid ContactPictureID { get; set; } 
        #endregion

        #region NavigationalProperties
       [ForeignKey("NationalityID")]
        public virtual Nationality Nationality { get; set; }

       public virtual ICollection<City> Cities { get; set; }
       public virtual ICollection<Territory> Territories { get; set; }
       public virtual ICollection<CultureAndRegion> CulturesAndRegions { get; set; }
       [ForeignKey("ContactPictureID")]
        public virtual ContactPicture Flag { get; set; }
        #endregion


    }
}
